Use CRPEJob::SetSectionFormatFormula to change the specified section format formula to the formula string that you supply as a parameter. This method will change only the text of a formula that already exists in the report; you cannot use it to add a formula.
BOOL SetSectionFormatFormula (
short sectionCode,
short formulaName,
CString formulaText );
Specifies the code for the report section(s) for which you want to set formatting options. See Working with section codes. | |
Specifies the name of the formula for which you want to supply a new string. Use one of the PEP_FFN_XXX Area/Section Format Formula Constants. See Remarks below. | |
The Cstring object that contains the specified formula text when CRPEJob::SetFormula has completed successfully. See Remarks below. |
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |